package com.yifang.yibingproject.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
@ApiModel("操作权限DTO")
public class ActionRightDTO implements Serializable {

    @ApiModelProperty("用户类型id")
    private String userTypeId;

    /**
     * 调价
     */
    @ApiModelProperty("调价")
    private BigDecimal adjustPrice;

    /**
     * 开始时间
     */
    @ApiModelProperty("开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    /**
     * 结束时间
     */
    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    @ApiModelProperty("已选择的标签")
    private List<String> labels;

    @ApiModelProperty("可购买标签 0可代发1小额批2可代发+小额批")
    private Integer buyLabel;


}
